package lab5Source;

public class S_TurnState extends AbstractState {

	@Override
	public void nextAction(LadyBird lady) {
		// if turn is done, proceed with go state
		if (lady.turn()) {
			this.setNextState(new S_GoState());
			lady.setState(this.nextState);
		}
	}

}
